<#assign ctx=springMacroRequestContext.contextPath />
<#assign security=JspTaglibs["http://www.springframework.org/security/tags"]/>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>组别列表</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" href="./js/layui/css/layui.css" media="all" />
<link rel="stylesheet" href="./css/public.css" media="all" />
</head>
<body class="childrenBody">
	<div class="layui-inline">
		<@security.authorize access="hasPermission('user', 'read')">
			<a class="layui-btn layui-btn-normal addGroup_btn">添加组别</a>
		</@security.authorize>
		<@security.authorize access="hasRole('normal')">
			normal will see
		</@security.authorize>
	</div>
	<div class="layui-inline qs-right">
		<div class="layui-input-inline">
			<input type="text" class="layui-input searchVal" placeholder="请输入搜索的内容" />
		</div>
		<a class="layui-btn search_btn" data-type="reload">搜索</a>
	</div>
	<hr>
	<form class="layui-form">
		<table id=groupList lay-filter="groupList"></table>
	</form>
	<!--操作-->
	<script type="text/html" id="groupListBar">
		<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
		<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>
		<a class="layui-btn layui-btn-xs layui-btn-primary" lay-event="look">预览</a>
	</script>
	<script type="text/javascript" src="./js/layui/layui.js"></script>
	<script type="text/javascript" src="${ctx}/pages/group/group.js"></script>
</body>
</html>